project(EthUartTool)
cmake_minimum_required(VERSION 2.6)
add_definitions(-std=c++14 -Wall)

#查找指定目录下的所有源文件，然后将结果存进指定变量名
aux_source_directory(. DIR_SRCS)

# add_subdirectory(proto)
# add_subdirectory(win)
# add_subdirectory(net)

add_executable(EthUartTool ${DIR_SRCS})
target_link_libraries(EthUartTool)